#include "inc/lm4f120h5qr.h"
#include <stdlib.h>
#include <stdio.h>

#include "inc/hw_types.h"
#include "inc/hw_ints.h"
#include "inc/hw_memmap.h"
#include "driverlib/interrupt.h"
#include "driverlib/gpio.h"
#include "driverlib/rom.h"
#include "driverlib/rom_map.h"
#include "driverlib/sysctl.h"
#include "driverlib/timer.h"
#include "driverlib/adc.h"

//#define _PWM PB_3		//was pa2

extern int _frequency;
extern int _period;
extern int _duty;
extern int _onOff;

void initPWM(int freq);
void pwmHandler(void);
void pwmSetDuty(int duty_cycle);
